using Admin2025.Domain.Common;
using Admin2025.Domain.Entities.App;

namespace Admin2025.Domain.Repositories;

public interface IUserRepository : IRepository<AppUser>
{
  Task<AppUser?> GetByUsernameAsync(string username);
  Task<PagedResult<AppUser>> GetUsersPagedAsync(PagedRequest request);
  Task CreateUserAsync(AppUser user);
  Task UpdateUserAsync(AppUser user);
  Task DeleteUserAsync(Guid id);
}
